package com.gkj.blog.business.vo.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gkj.blog.framework.object.BaseEntityVo;
import com.gkj.blog.persistence.po.SysUserRole;

import java.util.Date;

public class UserRole extends BaseEntityVo {
    SysUserRole sysUserRole;

    public UserRole() {
        this.sysUserRole=new SysUserRole();
        setAbstractDO(sysUserRole);
    }

    public UserRole(SysUserRole sysUserRole) {
        this.sysUserRole = sysUserRole;
        setAbstractDO(sysUserRole);
    }

    public Long getUserId() {
        return sysUserRole.getUserId();
    }

    public void setUserId(Long userId) {
        sysUserRole.setUserId(userId);
    }

    public Long getRoleId() {
        return sysUserRole.getRoleId();
    }

    public void setRoleId(Long roleId) {
        sysUserRole.setRoleId(roleId);
    }

}
